package com.niit.onlinemusicserver34.model.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName(value ="admin")  // mybatis-plus
@Data
public class Admin implements Serializable {

    @TableId(type = IdType.AUTO) // mybatis-plus
    private Integer id;

    private String name;

    private String password;
}
